package demo21;

import java.util.concurrent.*;

public class UseBlockingQueue {
    public static void main(String[] args) {
        BlockingQueue<Long> q1 = new ArrayBlockingQueue<>(18);
        BlockingQueue<Long> q2 = new LinkedBlockingDeque<>();
        BlockingQueue<Long> q3 = new PriorityBlockingQueue<>();
        BlockingQueue<Long> q4 = new LinkedTransferQueue<>();
    }
}
